using DevExtreme.AspNet.Data;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Repositories;

namespace Leo.Core.Domain
{
    public interface IBaseAbpRepository<TEntity, TKey> : IRepository<TEntity, TKey>
        where TKey : struct
        where TEntity : class, IEntity<TKey>
    {
        Task<TEntity> DevUpdateAsync(TKey key, string values);
        Task<object> GetDevListAsync(DataSourceLoadOptionsBase loadOptions);
    }
}
